package com.tzy.spi.aop.Interceptor;

import com.tzy.spi.aop.Aspect;
import com.tzy.spi.aop.JoinPoint;

import java.lang.reflect.Method;

public interface MethodInterceptor {

    Object toDo(JoinPoint joinPoint) throws Throwable;

    void setMethod(Method method);

    void setAspect(Aspect aspect);



}
